﻿Public Class WebForm8
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
        salesSqlDataSource1.Insert()
        GridView1.DataBind()

    End Sub

    Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
        TxtBox1stor_id.Text = ""
        TxtBox2ord_num.Text = ""
        TxtBox3ord_date.Text = ""
        TxtBox4qty.Text = ""
        TxtBox5payterms.Text = ""
        TxtBox6title_id.Text = ""
        TxtBox1stor_id.Focus()
    End Sub
End Class